Mollie\WooCommerce\Gateway\GatewayModule B

Total Complexity 91
Dependencies 33
Dependents 1
Total lines 718
Lines of code 543
Logical lines of code 309
Comment lines 89
Methods 17
Properties 2

Methods 17

Method Rating Maintainability Complexity Lines of code
run()
A
33 11 116
services()
A
33 9 117
maybeDisableApplePayGateway()
A
48 13 31
maybeDisableBankTransferGateway()
A
51 13 24
instantiatePaymentMethodGateways()
A
37 6 87
maybeDisableBillieGateway()
A
56 9 18
disableMollieOnPaymentMethodChange()
S
60 7 12
addPaymentMethodMandatoryFields()
S
49 5 37
instantiatePaymentMethods()
S
49 3 35
mollieApplePayDirectHandling()
S
61 3 11
molliePayPalButtonHandling()
S
62 3 11
setOrderPaidByOtherGateway()
S
62 3 10
disableSEPAInCheckout()
S
71 2 6
buildPaymentMethod()
S
64 1 11
gatewaySurchargeHandling()
S
81 1 3
BillieFieldsMandatory()
S
70 1 6
in3FieldsMandatory()
S
66 1 8